var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var UserSchema = new mongoose.Schema({ 
    email: String,
    password: String
});
UserSchema.plugin(mongoosePaginate);

module.exports = mongoose.model('user',  UserSchema);